/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.gps;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * GPS信息Entity
 * @author 颜洪毅
 * @version 2016-08-16
 */
public class Gps extends DataEntity<Gps> {
	
	private static final long serialVersionUID = 1L;
	private String latitude;		// 纬度
	private String longitude;		// 经度
	private String memberId;		// 用户ID
	
	public Gps() {
		super();
	}

	public Gps(String id){
		super(id);
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
	
	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	
	@Length(min=0, max=64, message="用户ID长度必须介于 0 和 64 之间")
	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	
}